package com.example.service;

import com.example.pojo.Dept;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Li_DaChiZi
 * Date: 2025/9/3
 * Time: 11:14
 */
public interface DeptService {
//    查询全部部门数据
    List<Dept> list();

    void deleteById(Integer id);

    void insertByDeptName(Dept dept);

    void updateDeptName(Dept dept);

    Dept findById(Integer id);
}
